package protocol.registration;

import java.io.DataOutputStream;
import java.io.IOException;

public class PrinterRegistrationResponse {

	private boolean m_registered;
	
	public PrinterRegistrationResponse(boolean registered)
	{
		m_registered = registered;
	}
	
	public DataOutputStream write(DataOutputStream dos) throws IOException
	{
		dos.writeBoolean(m_registered);
		
		return dos;
	}
}
